﻿@model XSTDZ.ERP.Application.DataContracts.PieceDto

@{
    ViewBag.Title = " - 查看计件";
}
@section header{
     <link href="@Url.Content("~/Content/Controls.css")" rel="stylesheet" type="text/css" />
     <link href="@Url.Content("~/Content/Form.css")" rel="stylesheet" type="text/css" />
}

<h2>查看计件</h2>

<div class="wp100">
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <table class="formtable">
    <thead>
        <tr>
            <th colspan="4">@* <h2>新增入库单</h2>*@
            <div id="toptoolbar"></div>
            </th>
        </tr>
    </thead>
    <tr>
        <td class="title"> @Html.LabelFor(model => model.WorkGroupID)</td>
        <td> @Html.TextBoxFor(model => model.WorkGroupName, new { @class = "text disablebg", @readonly = "readonly" })
        @Html.ValidationMessageFor(model => model.WorkGroupID)
          @Html.HiddenFor(model => model.Id)
        </td>

        <td class="title">@Html.LabelFor(model => model.ProductProcedureID)</td>
        <td>  @Html.TextBoxFor(model => model.ProductProcedureName, new { @class = "text disablebg", @readonly = "readonly" })
              @Html.HiddenFor(model => model.ProductProcedureID)
            @Html.ValidationMessageFor(model => model.ProductProcedureID)
         </td>
  </tr>
       <tr>
        <td class="title"> @Html.LabelFor(model => model.PieceCount)</td>
        <td> @Html.TextBoxFor(model => model.PieceCount, new { @class = "text disablebg", @readonly = "readonly" })
        @Html.ValidationMessageFor(model => model.PieceCount)
        </td>

        <td class="title">@Html.LabelFor(model => model.SubmitDate)</td>
        <td>  @Html.TextBoxFor(model => model.SubmitDate, new { @class = "text disablebg", @readonly = "readonly" })
        <input type="hidden" value="@Model.SubmitDate" id="SubmitDateVal" name="SubmitDateVal" />
            @Html.ValidationMessageFor(model => model.SubmitDate)
         </td>
  </tr>

    </table>
}
</div>
